package com.jt.service;

import com.jt.pojo.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Song
 * @since 2020/11/19
 */
public interface DubboUserService {

    List<User> findAll();

    @Transactional
    void saveUser(User user);

    String login(User user);
}
